package org.sample.entity;

import javax.persistence.Column;
import javax.persistence.Entity;


/**
 * Created by Alan on 2016/10/1.
 */
@Entity
public class Comment extends BaseBO {

    private Integer articleId;
    private Integer userId;
    private String content;
    private Boolean display;


    @Column(name = "article_id")
    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    @Column(name = "user_id")
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Column(name = "display")
    public Boolean getDisplay() {
        return display;
    }

    public void setDisplay(Boolean display) {
        this.display = display;
    }
}
